package com.huang.domain;

import java.util.ArrayList;
import java.util.List;

public class ChinaTotalExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ChinaTotalExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andConfirmIsNull() {
            addCriterion("confirm is null");
            return (Criteria) this;
        }

        public Criteria andConfirmIsNotNull() {
            addCriterion("confirm is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmEqualTo(String value) {
            addCriterion("confirm =", value, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmNotEqualTo(String value) {
            addCriterion("confirm <>", value, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmGreaterThan(String value) {
            addCriterion("confirm >", value, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmGreaterThanOrEqualTo(String value) {
            addCriterion("confirm >=", value, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmLessThan(String value) {
            addCriterion("confirm <", value, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmLessThanOrEqualTo(String value) {
            addCriterion("confirm <=", value, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmLike(String value) {
            addCriterion("confirm like", value, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmNotLike(String value) {
            addCriterion("confirm not like", value, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmIn(List<String> values) {
            addCriterion("confirm in", values, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmNotIn(List<String> values) {
            addCriterion("confirm not in", values, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmBetween(String value1, String value2) {
            addCriterion("confirm between", value1, value2, "confirm");
            return (Criteria) this;
        }

        public Criteria andConfirmNotBetween(String value1, String value2) {
            addCriterion("confirm not between", value1, value2, "confirm");
            return (Criteria) this;
        }

        public Criteria andHealIsNull() {
            addCriterion("heal is null");
            return (Criteria) this;
        }

        public Criteria andHealIsNotNull() {
            addCriterion("heal is not null");
            return (Criteria) this;
        }

        public Criteria andHealEqualTo(String value) {
            addCriterion("heal =", value, "heal");
            return (Criteria) this;
        }

        public Criteria andHealNotEqualTo(String value) {
            addCriterion("heal <>", value, "heal");
            return (Criteria) this;
        }

        public Criteria andHealGreaterThan(String value) {
            addCriterion("heal >", value, "heal");
            return (Criteria) this;
        }

        public Criteria andHealGreaterThanOrEqualTo(String value) {
            addCriterion("heal >=", value, "heal");
            return (Criteria) this;
        }

        public Criteria andHealLessThan(String value) {
            addCriterion("heal <", value, "heal");
            return (Criteria) this;
        }

        public Criteria andHealLessThanOrEqualTo(String value) {
            addCriterion("heal <=", value, "heal");
            return (Criteria) this;
        }

        public Criteria andHealLike(String value) {
            addCriterion("heal like", value, "heal");
            return (Criteria) this;
        }

        public Criteria andHealNotLike(String value) {
            addCriterion("heal not like", value, "heal");
            return (Criteria) this;
        }

        public Criteria andHealIn(List<String> values) {
            addCriterion("heal in", values, "heal");
            return (Criteria) this;
        }

        public Criteria andHealNotIn(List<String> values) {
            addCriterion("heal not in", values, "heal");
            return (Criteria) this;
        }

        public Criteria andHealBetween(String value1, String value2) {
            addCriterion("heal between", value1, value2, "heal");
            return (Criteria) this;
        }

        public Criteria andHealNotBetween(String value1, String value2) {
            addCriterion("heal not between", value1, value2, "heal");
            return (Criteria) this;
        }

        public Criteria andDeadIsNull() {
            addCriterion("dead is null");
            return (Criteria) this;
        }

        public Criteria andDeadIsNotNull() {
            addCriterion("dead is not null");
            return (Criteria) this;
        }

        public Criteria andDeadEqualTo(String value) {
            addCriterion("dead =", value, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadNotEqualTo(String value) {
            addCriterion("dead <>", value, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadGreaterThan(String value) {
            addCriterion("dead >", value, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadGreaterThanOrEqualTo(String value) {
            addCriterion("dead >=", value, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadLessThan(String value) {
            addCriterion("dead <", value, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadLessThanOrEqualTo(String value) {
            addCriterion("dead <=", value, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadLike(String value) {
            addCriterion("dead like", value, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadNotLike(String value) {
            addCriterion("dead not like", value, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadIn(List<String> values) {
            addCriterion("dead in", values, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadNotIn(List<String> values) {
            addCriterion("dead not in", values, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadBetween(String value1, String value2) {
            addCriterion("dead between", value1, value2, "dead");
            return (Criteria) this;
        }

        public Criteria andDeadNotBetween(String value1, String value2) {
            addCriterion("dead not between", value1, value2, "dead");
            return (Criteria) this;
        }

        public Criteria andNowconfirmIsNull() {
            addCriterion("nowConfirm is null");
            return (Criteria) this;
        }

        public Criteria andNowconfirmIsNotNull() {
            addCriterion("nowConfirm is not null");
            return (Criteria) this;
        }

        public Criteria andNowconfirmEqualTo(String value) {
            addCriterion("nowConfirm =", value, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmNotEqualTo(String value) {
            addCriterion("nowConfirm <>", value, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmGreaterThan(String value) {
            addCriterion("nowConfirm >", value, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmGreaterThanOrEqualTo(String value) {
            addCriterion("nowConfirm >=", value, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmLessThan(String value) {
            addCriterion("nowConfirm <", value, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmLessThanOrEqualTo(String value) {
            addCriterion("nowConfirm <=", value, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmLike(String value) {
            addCriterion("nowConfirm like", value, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmNotLike(String value) {
            addCriterion("nowConfirm not like", value, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmIn(List<String> values) {
            addCriterion("nowConfirm in", values, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmNotIn(List<String> values) {
            addCriterion("nowConfirm not in", values, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmBetween(String value1, String value2) {
            addCriterion("nowConfirm between", value1, value2, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andNowconfirmNotBetween(String value1, String value2) {
            addCriterion("nowConfirm not between", value1, value2, "nowconfirm");
            return (Criteria) this;
        }

        public Criteria andSuspectIsNull() {
            addCriterion("suspect is null");
            return (Criteria) this;
        }

        public Criteria andSuspectIsNotNull() {
            addCriterion("suspect is not null");
            return (Criteria) this;
        }

        public Criteria andSuspectEqualTo(String value) {
            addCriterion("suspect =", value, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectNotEqualTo(String value) {
            addCriterion("suspect <>", value, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectGreaterThan(String value) {
            addCriterion("suspect >", value, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectGreaterThanOrEqualTo(String value) {
            addCriterion("suspect >=", value, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectLessThan(String value) {
            addCriterion("suspect <", value, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectLessThanOrEqualTo(String value) {
            addCriterion("suspect <=", value, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectLike(String value) {
            addCriterion("suspect like", value, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectNotLike(String value) {
            addCriterion("suspect not like", value, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectIn(List<String> values) {
            addCriterion("suspect in", values, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectNotIn(List<String> values) {
            addCriterion("suspect not in", values, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectBetween(String value1, String value2) {
            addCriterion("suspect between", value1, value2, "suspect");
            return (Criteria) this;
        }

        public Criteria andSuspectNotBetween(String value1, String value2) {
            addCriterion("suspect not between", value1, value2, "suspect");
            return (Criteria) this;
        }

        public Criteria andNowsevereIsNull() {
            addCriterion("nowSevere is null");
            return (Criteria) this;
        }

        public Criteria andNowsevereIsNotNull() {
            addCriterion("nowSevere is not null");
            return (Criteria) this;
        }

        public Criteria andNowsevereEqualTo(String value) {
            addCriterion("nowSevere =", value, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereNotEqualTo(String value) {
            addCriterion("nowSevere <>", value, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereGreaterThan(String value) {
            addCriterion("nowSevere >", value, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereGreaterThanOrEqualTo(String value) {
            addCriterion("nowSevere >=", value, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereLessThan(String value) {
            addCriterion("nowSevere <", value, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereLessThanOrEqualTo(String value) {
            addCriterion("nowSevere <=", value, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereLike(String value) {
            addCriterion("nowSevere like", value, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereNotLike(String value) {
            addCriterion("nowSevere not like", value, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereIn(List<String> values) {
            addCriterion("nowSevere in", values, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereNotIn(List<String> values) {
            addCriterion("nowSevere not in", values, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereBetween(String value1, String value2) {
            addCriterion("nowSevere between", value1, value2, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andNowsevereNotBetween(String value1, String value2) {
            addCriterion("nowSevere not between", value1, value2, "nowsevere");
            return (Criteria) this;
        }

        public Criteria andImportedcaseIsNull() {
            addCriterion("importedCase is null");
            return (Criteria) this;
        }

        public Criteria andImportedcaseIsNotNull() {
            addCriterion("importedCase is not null");
            return (Criteria) this;
        }

        public Criteria andImportedcaseEqualTo(String value) {
            addCriterion("importedCase =", value, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseNotEqualTo(String value) {
            addCriterion("importedCase <>", value, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseGreaterThan(String value) {
            addCriterion("importedCase >", value, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseGreaterThanOrEqualTo(String value) {
            addCriterion("importedCase >=", value, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseLessThan(String value) {
            addCriterion("importedCase <", value, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseLessThanOrEqualTo(String value) {
            addCriterion("importedCase <=", value, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseLike(String value) {
            addCriterion("importedCase like", value, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseNotLike(String value) {
            addCriterion("importedCase not like", value, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseIn(List<String> values) {
            addCriterion("importedCase in", values, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseNotIn(List<String> values) {
            addCriterion("importedCase not in", values, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseBetween(String value1, String value2) {
            addCriterion("importedCase between", value1, value2, "importedcase");
            return (Criteria) this;
        }

        public Criteria andImportedcaseNotBetween(String value1, String value2) {
            addCriterion("importedCase not between", value1, value2, "importedcase");
            return (Criteria) this;
        }

        public Criteria andNoinfectIsNull() {
            addCriterion("noInfect is null");
            return (Criteria) this;
        }

        public Criteria andNoinfectIsNotNull() {
            addCriterion("noInfect is not null");
            return (Criteria) this;
        }

        public Criteria andNoinfectEqualTo(String value) {
            addCriterion("noInfect =", value, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectNotEqualTo(String value) {
            addCriterion("noInfect <>", value, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectGreaterThan(String value) {
            addCriterion("noInfect >", value, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectGreaterThanOrEqualTo(String value) {
            addCriterion("noInfect >=", value, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectLessThan(String value) {
            addCriterion("noInfect <", value, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectLessThanOrEqualTo(String value) {
            addCriterion("noInfect <=", value, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectLike(String value) {
            addCriterion("noInfect like", value, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectNotLike(String value) {
            addCriterion("noInfect not like", value, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectIn(List<String> values) {
            addCriterion("noInfect in", values, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectNotIn(List<String> values) {
            addCriterion("noInfect not in", values, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectBetween(String value1, String value2) {
            addCriterion("noInfect between", value1, value2, "noinfect");
            return (Criteria) this;
        }

        public Criteria andNoinfectNotBetween(String value1, String value2) {
            addCriterion("noInfect not between", value1, value2, "noinfect");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}